﻿namespace com.stifel.ProjectMgmtDao
{
    using System;
    using System.Xml.Serialization;

    using com.stifel.Extensions.ObjectExtensions;
    using com.stifel.Extensions.StringExtensions;

    [Serializable]
    public class ProjectId
    {
        #region Properties

        public Guid ItemId
        {
            get;
            set;
        }

        public string ListTitle
        {
            get;
            set;
        }

        public int Order
        {
            get;
            set;
        }

        public string SiteUrl
        {
            get;
            set;
        }

        [XmlIgnore]
        public string Value
        {
            get
            {
                string v = this.SerializeToXml<ProjectId>( ).ToBase64String( );
                return v;
            }
        }

        #endregion Properties
    }
}